首页> 外文OA文献 >Application Embedding: A Language Approach to Declarative Web Programming
【2h】

Application Embedding: A Language Approach to Declarative Web Programming

机译:应用程序嵌入:声明性Web的语言方法   程序设计

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Since the early days of the Web, web application developers have aspired todevelop much of their applications declaratively. However, one aspect of theapplication, namely its business-logic is constantly left imperative. In thiswork we present Application Embedding, a novel approach to applicationdevelopment which allows all aspects of an application, including itsbusiness-logic, to be programmed declaratively. We develop this approach in a two-step process. First, we draw a mappingbetween web applications and Domain-Specific Languages (DSLs). Second, we notethat out of the two methods for implementing DSLs, namely as either internal orexternal, most traditional web applications correspond to external DSLs, whilethe the technique that corresponds to DSL embedding (implementing internalDSLs) is left mostly unexplored. By projecting the well-known technique of DSL embedding onto webapplications, we derive a novel technique--Application Embedding. Applicationembedding offers a separation of code assets that encourages reuse ofimperative code, while keeping all application-specific assets, including thosespecifying its business- logic, declarative. As validation, we implemented a simple, though nontrivial web applicationusing the proposed separation of assets. This implementation includes anapplication-agnostic imperative host application named FishTank, intended to beapplicable for a wide variety of web applications, and a declarative definitionof the different aspects of the specific application, intended to be loaded onthat host. Our method of separation of code assets facilitates a better separation ofwork, in comparison to traditional methods. By this separation, hostapplication developers can focus mostly on the extra-functional aspects of aweb application, namely on improving performance, scalability, andavailability, while developers of an embedded application can focus on thefunctional aspects of their application, without worrying about extra-functional concerns. The reusability of the host application makes the effortput into a better implementation cost-effective, since it can benefit allapplications built on top of it.
机译:从Web的早期开始,Web应用程序开发人员就渴望以声明式的方式开发其许多应用程序。但是,该应用程序的一个方面,即其业务逻辑,总是势在必行。在这项工作中,我们介绍了应用程序嵌入,这是一种用于应用程序开发的新颖方法,它允许对应用程序的各个方面(包括其业务逻辑)进行声明式编程。我们分两步开发此方法。首先,我们在Web应用程序和特定领域语言(DSL)之间绘制映射。其次,我们注意到在实现DSL的两种方法中(即内部或外部),大多数传统的Web应用程序都与外部DSL相对应,而与DSL嵌入(实现内部DSL)相对应的技术则几乎未得到开发。通过将DSL嵌入的著名技术投影到Web应用程序上,我们得出了一种新颖的技术-Application Embedding。应用程序嵌入提供了代码资产的分离,从而鼓励重用命令性代码,同时保留所有特定于应用程序的资产(包括那些指定其业务逻辑的资产)为声明式。作为验证,我们使用提议的资产分离实现了一个简单但不平凡的Web应用程序。此实现包括一个名为FishTank的与应用程序无关的强制性主机应用程序,旨在适用于各种Web应用程序,以及对特定应用程序不同方面的声明性定义,该声明性定义旨在加载到该主机上。与传统方法相比,我们的代码资产分离方法有助于更好地分离工作。通过这种分离,主机应用程序开发人员可以将主要精力放在web应用程序的功能之外,即提高性能,可伸缩性和可用性,而嵌入式应用程序的开发人员可以将精力集中在其应用程序的功能方面,而不必担心功能外的问题。 。主机应用程序的可重用性使工作量变得更经济高效,因为它可以使基于它的所有应用程序受益。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号